//
// Created by 吴锐 on 2022/2/27.
//

#include "iostream"

using namespace std;

int myAdd01(int a, int b){
    return a + b;
}

template<class T>
T myAdd02(T a, T b){
    return a + b;
}

void test01(){
    int a = 10;
    int b = 20;
    char c = 'c';
    cout << myAdd01(a, c) << endl;

    cout << myAdd02<int>(a, c) << endl;
}

int main(){
    test01();
    return 0;
}